package com.mapper;

import com.model.Major;

import java.util.List;
import java.util.Map;

public interface MajorMapper {

    int save(Major major ) ;

    Major loadById( Integer id ) ;

    int updateMajor( Major major ) ;

    List<Major> selectCondition(Major major ) ;

    List<Major> selectCondition2( Major major ) ;

    List<Major> selectCondition3(  Map<String , Object> params) ;

    List<Major> selectCondition4(  String name ) ;

    List<Major> selectByIds(  Major[] ids ) ;


}
